package com.bml.architect.spring.topics;

import org.springframework.amqp.core.Message;
import org.springframework.amqp.core.MessageListener;

public class Topic3QueueListener implements MessageListener {
    @Override
    public void onMessage(Message message) {
        //打印消息
        System.out.println("TOPIC模式之(b3.#)："+new String(message.getBody()));
    }
}
